import { get, post } from './request';

// 获取对话列表
export const getChatListApi = (params, config) => get('/api/v1/chat/getChatList', params, config);

// 创建对话
export const createChatApi = (params, config) => post('/api/v1/chat/createChat', params, config);

// 删除对话
export const delChatApi = (chatId, config) => get(`/api/v1/chat/delChat/${chatId}`, {}, config);
